<ul>
    @foreach($videos as $video)
    <li>
        <div class="video">
            <a href="<?= route('bai-du-thi', array('id' => $video->id, 'slug' => $video->slug)) ?>"
               title="<?= $video->title ?>">
                <img src="http://i1.ytimg.com/vi/<?= $video->youtube ?>/default.jpg"/>
            </a>
        </div>
        <div class="ct">
            <a class="font14" href="<?= route('bai-du-thi', array('id' => $video->id, 'slug' => $video->slug)) ?>"
               title="<?= $video->title ?>">
                <?= str_limit($video->title, 25, '...') ?>
            </a>

            <div>
                <span class="font12 color66">Bởi: </span>
                <a class="font12 color55 displayin"
                   href="<?= route('thanh-vien-ct', array('id' => $video->userid, 'slug' => Str::slug($video->username))) ?>">
                    <?= $video->username ?>
                </a>
            </div>
            <div>
                <span class="font11 color99"><?= $video->votes ?> Bình chọn</span>
                <span class="font11 color99"><?= $video->views ?> Lượt xem</span>
            </div>

        </div>
    </li>
    @endforeach
</ul>
<div class="box-phantrang">
    <?= $videos->links() ?>
</div>